package org.aurelius.testngexecutionlogger;

import java.util.Locale;
import org.springframework.context.MessageSource;
import org.springframework.context.MessageSourceAware;

/**
 *
 */
public class MessageSourceExample {

    private MessageSource messageSource;

    public String getSomeMessage() {
        return messageSource.getMessage(
                "persistance.provider", null, Locale.ENGLISH);
    }

    public void setMessageSource(MessageSource messageSource) {
        this.messageSource = messageSource;
    }
}
